Optimal. Leaf size=95 \[ \frac{2 \sin (c+d x) (b \sec (c+d x))^{5/2}}{5 b^2 d}+\frac{6 \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}-\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0606493, antiderivative size = 95, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {16, 3768, 3771, 2639} \[ \frac{2 \sin (c+d x) (b \sec (c+d x))^{5/2}}{5 b^2 d}+\frac{6 \sin (c+d x) \sqrt{b \sec (c+d x)}}{5 d}-\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 3768
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int \sec ^3(c+d x) \sqrt{b \sec (c+d x)} \, dx &=\frac{\int (b \sec (c+d x))^{7/2} \, dx}{b^3}\\ &=\frac{2 (b \sec (c+d x))^{5/2} \sin (c+d x)}{5 b^2 d}+\frac{3 \int (b \sec (c+d x))^{3/2} \, dx}{5 b}\\ &=\frac{6 \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b \sec (c+d x))^{5/2} \sin (c+d x)}{5 b^2 d}-\frac{1}{5} (3 b) \int \frac{1}{\sqrt{b \sec (c+d x)}} \, dx\\ &=\frac{6 \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b \sec (c+d x))^{5/2} \sin (c+d x)}{5 b^2 d}-\frac{(3 b) \int \sqrt{\cos (c+d x)} \, dx}{5 \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}\\ &=-\frac{6 b E\left (\left .\frac{1}{2} (c+d x)\right |2\right )}{5 d \sqrt{\cos (c+d x)} \sqrt{b \sec (c+d x)}}+\frac{6 \sqrt{b \sec (c+d x)} \sin (c+d x)}{5 d}+\frac{2 (b \sec (c+d x))^{5/2} \sin (c+d x)}{5 b^2 d}\\ \end{align*}
Mathematica [A] time = 0.165085, size = 69, normalized size = 0.73 \[ \frac{\sec ^2(c+d x) \sqrt{b \sec (c+d x)} \left (7 \sin (c+d x)+3 \sin (3 (c+d x))-12 \cos ^{\frac{5}{2}}(c+d x) E\left (\left .\frac{1}{2} (c+d x)\right |2\right )\right )}{10 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.208, size = 356, normalized size = 3.8 \begin{align*}{\frac{2\, \left ( \cos \left ( dx+c \right ) +1 \right ) ^{2} \left ( -1+\cos \left ( dx+c \right ) \right ) ^{2}}{5\,d \left ( \sin \left ( dx+c \right ) \right ) ^{5} \left ( \cos \left ( dx+c \right ) \right ) ^{2}} \left ( 3\,i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}} \left ( \cos \left ( dx+c \right ) \right ) ^{3}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \sin \left ( dx+c \right ) -3\,i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \left ( \cos \left ( dx+c \right ) \right ) ^{3}\sin \left ( dx+c \right ) +3\,i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}} \left ( \cos \left ( dx+c \right ) \right ) ^{2}{\it EllipticE} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \sin \left ( dx+c \right ) -3\,i\sqrt{ \left ( \cos \left ( dx+c \right ) +1 \right ) ^{-1}}\sqrt{{\frac{\cos \left ( dx+c \right ) }{\cos \left ( dx+c \right ) +1}}}{\it EllipticF} \left ({\frac{i \left ( -1+\cos \left ( dx+c \right ) \right ) }{\sin \left ( dx+c \right ) }},i \right ) \left ( \cos \left ( dx+c \right ) \right ) ^{2}\sin \left ( dx+c \right ) -3\, \left ( \cos \left ( dx+c \right ) \right ) ^{3}+2\, \left ( \cos \left ( dx+c \right ) \right ) ^{2}+1 \right ) \sqrt{{\frac{b}{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{3}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec{\left (c + d x \right )}} \sec ^{3}{\left (c + d x \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (d x + c\right )} \sec \left (d x + c\right )^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]